package com.rtx.api.enums;

public enum ResponseCodeEnum {
    SUCCESS(200, "操作成功"),
    FAILED(400, "操作失败");

    private int code;

    private String msg;

    ResponseCodeEnum(int code,String msg){
        this.code = code;
        this.msg = msg;
    }

    public int getCode() {
        return code;
    }

    public String getMsg() {
        return msg;
    }
}
